package com.mark.images.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.BufferedImageHttpMessageConverter;


/**
 * @Description :  java类作用描述
 * @Author :  Markburt
 * @CreateDate :  2020/3/8$ 下午 03:30$
 * @UpdateUser :  Markburt
 * @UpdateDate :  2020/3/8$ 下午 03:30$
 * @UpdateRemark :  Project Build
 * @Version :  1.0
 */
@Configuration
public class ImageConvertConfig {

    /**
     * 返回图片转换器
     * @return
     */
    @Bean
    public BufferedImageHttpMessageConverter converter(){
        return new BufferedImageHttpMessageConverter();
    }

}
